//
//  LoginViewController.h
//  TravelDiary
//
//  Created by lanou3g on 15/11/12.
//  Copyright © 2015年 YDB MAC. All rights reserved.
//

#import <UIKit/UIKit.h>
//typedef 返回值类型(^名字)(参数类型);
typedef void(^BLOCK)(NSString *);

@interface LoginViewController : UIViewController

@property (strong, nonatomic) IBOutlet UITextField *UesrName;

@property (strong, nonatomic) IBOutlet UITextField *passWord;
@property (weak, nonatomic) IBOutlet UIButton *loginButton;

//第二步：把block作为一个属性，注意要使用copy修饰
@property (nonatomic, copy) BLOCK  myBlock;

@end
